/**
 * Created by aperry on 24/06/2014.
 */
/*
Name: caseServices
version: 1

Notes:
Simple test service at this time

 */

var caseServices = angular.module('assetPlusApp.caseServices', ['ngResource']);

caseServices.factory('caseDetailService', ['$resource',
    function($resource){
        return $resource('data/case/:serviceId.json', {}, {
            query: {method:'GET', params:{serviceId:'cases'}, isArray:true} //cases = the default if no serviceId is supplied
        });
    }]);

